#ifndef _OSGIS_LUA_VIRTUAL_MACHINE_H_
#define _OSGIS_LUA_VIRTUAL_MACHINE_H_

#include <lua>

namespace Osgis
{
	class LuaVMachine
	{
	public:
		LuaVMachine();
	public:
		virtual ~LuaVMachine();
		static LuaVMachine* getInstance();
	public:
		lua_State* getLuaVm();
	private:
		void registerOsg();
		static LuaVMachine* _luaVm;
		lua_State* _lua;
	};
}
#endif